package com.ruoyi.teacherinformation.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教师信息对象 algs_teacher
 * 
 * @author ruoyi
 * @date 2023-03-16
 */
public class AlgsTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 注册ID */
    private Long teacherId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String teacherName;

    /** 账号 */
    @Excel(name = "账号")
    private String teacherNumber;

    /** 性别 */
    @Excel(name = "性别")
    private String teacherSex;

    /** 住址 */
    @Excel(name = "住址")
    private String teacherAdd;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date teacherDate;

    /** 老师专业 */
    @Excel(name = "老师专业")
    private String teacherMajor;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String teacherPhone;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String teacherIdNumber;

    /** 备用列 */
    @Excel(name = "备用列")
    private Long teacherBy1;

    /** 备用列 */
    @Excel(name = "备用列")
    private String teacherBy2;

    /** 备用列 */
    @Excel(name = "备用列")
    private String teacherBy3;

    /** 头像 */
    @Excel(name = "头像")
    private String teacherHeadImage;

    /** 密码;初次登录于账号一致 */
    @Excel(name = "密码;初次登录于账号一致")
    private String teacherPassword;

    /** 账号状态（外键） */
    @Excel(name = "账号状态", readConverterExp = "外=键")
    private Long typeId;

    /** 用户表（主表） */
    @Excel(name = "用户表", readConverterExp = "主=表")
    private Long userId;

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherNumber(String teacherNumber) 
    {
        this.teacherNumber = teacherNumber;
    }

    public String getTeacherNumber() 
    {
        return teacherNumber;
    }
    public void setTeacherSex(String teacherSex) 
    {
        this.teacherSex = teacherSex;
    }

    public String getTeacherSex() 
    {
        return teacherSex;
    }
    public void setTeacherAdd(String teacherAdd) 
    {
        this.teacherAdd = teacherAdd;
    }

    public String getTeacherAdd() 
    {
        return teacherAdd;
    }
    public void setTeacherDate(Date teacherDate) 
    {
        this.teacherDate = teacherDate;
    }

    public Date getTeacherDate() 
    {
        return teacherDate;
    }
    public void setTeacherMajor(String teacherMajor) 
    {
        this.teacherMajor = teacherMajor;
    }

    public String getTeacherMajor() 
    {
        return teacherMajor;
    }
    public void setTeacherPhone(String teacherPhone) 
    {
        this.teacherPhone = teacherPhone;
    }

    public String getTeacherPhone() 
    {
        return teacherPhone;
    }
    public void setTeacherIdNumber(String teacherIdNumber) 
    {
        this.teacherIdNumber = teacherIdNumber;
    }

    public String getTeacherIdNumber() 
    {
        return teacherIdNumber;
    }
    public void setTeacherBy1(Long teacherBy1) 
    {
        this.teacherBy1 = teacherBy1;
    }

    public Long getTeacherBy1() 
    {
        return teacherBy1;
    }
    public void setTeacherBy2(String teacherBy2) 
    {
        this.teacherBy2 = teacherBy2;
    }

    public String getTeacherBy2() 
    {
        return teacherBy2;
    }
    public void setTeacherBy3(String teacherBy3) 
    {
        this.teacherBy3 = teacherBy3;
    }

    public String getTeacherBy3() 
    {
        return teacherBy3;
    }
    public void setTeacherHeadImage(String teacherHeadImage) 
    {
        this.teacherHeadImage = teacherHeadImage;
    }

    public String getTeacherHeadImage() 
    {
        return teacherHeadImage;
    }
    public void setTeacherPassword(String teacherPassword) 
    {
        this.teacherPassword = teacherPassword;
    }

    public String getTeacherPassword() 
    {
        return teacherPassword;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("teacherNumber", getTeacherNumber())
            .append("teacherSex", getTeacherSex())
            .append("teacherAdd", getTeacherAdd())
            .append("teacherDate", getTeacherDate())
            .append("teacherMajor", getTeacherMajor())
            .append("teacherPhone", getTeacherPhone())
            .append("teacherIdNumber", getTeacherIdNumber())
            .append("teacherBy1", getTeacherBy1())
            .append("teacherBy2", getTeacherBy2())
            .append("teacherBy3", getTeacherBy3())
            .append("teacherHeadImage", getTeacherHeadImage())
            .append("teacherPassword", getTeacherPassword())
            .append("typeId", getTypeId())
            .append("userId", getUserId())
            .toString();
    }
}
